package com.jh.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.jh.dao.UserDao;
import com.jh.service.UserService;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
	@Qualifier("userDaoImpl")
	private UserDao ud;
	
	public UserServiceImpl() {
	
}

	public void test01() {
		ud.test();
		
		
	}

	public UserDao getUd() {
		return ud;
	}

	public void setUd(UserDao ud) {
		this.ud = ud;
	}

	@Override
	public String toString() {
		return "UserServiceImpl [ud=" + ud + "]";
	}

}
